import fetch from 'utils/fetch';

export function getVipList() {
  return fetch({
    url: '/paper/vip/list',
    method: 'get'
  })
}

export function joinVip(data) {
  return fetch({
    url: '/paper/join/vip/',
    method: 'post',
    headers: {
      'Content-Type': 'application/json'
    },
    data
  })
}

export function getYd() {
  return fetch({
    url: '/paper/yd/list/',
    method: 'get'
  })
}

export function recharge(data) {
  return fetch({
    url: '/paper/yd/recharge/',
    method: 'post',
    headers: {
      'Content-Type': 'application/json'
    },
    data
  })
}